﻿@using Systematize.Domain.Entities
@model Systematize.Models.Library.IndexModel

@{
    ViewBag.Title = "Library";
}

<h2>Library</h2>

@if (Model.LibraryItems.Any())
{
    foreach (ILibraryItem item in Model.LibraryItems)
    {
        <p>@item.Id: @item.Name @Html.ActionLink("Edit", "Edit", new { id = item.Id })</p>
    }
}
else
{
    <p>No items found.</p>
}
